﻿using System;
using System.Collections.Generic;

using System.Text;

namespace TimKen.DataEntity
{
    /// <summary>
    /// 用户账号实体类
    /// </summary>
    public class UserAccount:UserS
    {
        public UserAccount()
        { }
        #region Model
        private string _username;
        private string _password;
        private string _realname;
        private int? _customerid;
        private string _phone;
        private string _email;
        private DateTime? _createdate;
        private int? _creatorid;
        private int? _usertype;
        /// <summary>
        /// 
        /// </summary>
        public override  string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Password
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string RealName
        {
            set { _realname = value; }
            get { return _realname; }
        }
        /// <summary>
        /// 公司ID
        /// </summary>
        public int? CustomerID
        {
            set { _customerid = value; }
            get { return _customerid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Email
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 创建人ID
        /// </summary>
        public int? CreatorID
        {
            set { _creatorid = value; }
            get { return _creatorid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? RoleID
        {
            set { _usertype = value; }
            get { return _usertype; }
        }

        public string RoleName { get; set; }


        public string ActionList { get; set; }



        public DateTime? LastUpdatePwd
        {
            get;
            set;
        }

        public int Points {
            get;
            set;
        }
        #endregion Model

    }
}
